package cc.mrbird.febs.server.test;

import cc.mrbird.febs.common.annotation.FebsCloudApplication;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableFeignClients
//@EnableDiscoveryClient
@SpringBootApplication
//@EnableFebsAuthExceptionHandler
//@EnableFebsOauth2FeignClient
//@EnableFebsServerProtect
@FebsCloudApplication
@EnableTransactionManagement
@MapperScan("cc.mrbird.febs.server.test.mapper")
@EnableGlobalMethodSecurity(prePostEnabled = true)
public class FebsServerTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(FebsServerTestApplication.class, args);
    }

}
